//
//  NSObject+Convert.h
//  xdmall
//
//  Created by kane on 15/9/2.
//  Copyright (c) 2015年 朱建宇. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSObject(Convert)

- (NSString *)convertToString;

@end

@interface UIColor (extension)

+ (UIColor*) colorWithHex:(NSInteger)hexValue alpha:(CGFloat)alphaValue;
+ (UIColor*) colorWithHex:(NSInteger)hexValue;
+ (NSString *) hexFromUIColor: (UIColor*) color;

@end

@interface UIFont (category)

/**
 * 扩展字体大小设置
 * @param       size 字体大小
 * @returned    扩展字体
 */
+ (UIFont*)fontSize:(NSInteger)size;

/**
 * 扩展粗体字体大小设置
 * @param       size 粗体字体大小
 * @returned    扩展字体
 */
+ (UIFont*)boldFontSize:(NSInteger)size;

@end